package com.py.credit.entity.common;

import java.util.List;

public class TreeObj {

	/**
	 * ID
	 */
	private String id;

	private String rootId;

	/**
	 * 中文名称
	 */
	private String name;
	/**
	 * 访问地址
	 */
	private String url;
	/**
	 * MOD模块M菜单R功能
	 */
	private String type;
	/**
	 * 父节点ID
	 */
	private String pId;
	/**
	 * 排序值
	 */
	private Integer sort;

	private String code;

	private List<TreeObj> children;

	private String extend;

	private String icon;

	/**
	 * 是否选中
	 */
	private String checked;

	/**
	 * 是否显示check box
	 */
	private String nocheck;

	/**
	 * 是否打开
	 */
	private boolean open;

	/**
	 * ztree 是否父节点
	 */
	private String isParent;
	
	/**
	 * 信息类别
	 */
	private String informationType;

	public String getInformationType() {
		return informationType;
	}

	public void setInformationType(String informationType) {
		this.informationType = informationType;
	}

	/**
	 * @param name
	 * @param children
	 */
	public TreeObj(String name, List<TreeObj> children) {
		super();
		this.name = name;
		this.children = children;
	}

	public TreeObj() {
		super();
	}

	public String getRootId() {
		return rootId;
	}

	public void setRootId(String rootId) {
		this.rootId = rootId;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getpId() {
		return pId;
	}

	public void setpId(String pId) {
		this.pId = pId;
	}

	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	public List<TreeObj> getChildren() {
		return children;
	}

	public void setChildren(List<TreeObj> children) {
		this.children = children;
	}

	public String getExtend() {
		return extend;
	}

	public void setExtend(String extend) {
		this.extend = extend;
	}

	public String getChecked() {
		return checked;
	}

	public void setChecked(String checked) {
		this.checked = checked;
	}

	public boolean isOpen() {
		return open;
	}

	public void setOpen(boolean open) {
		this.open = open;
	}

	public String getIsParent() {
		return isParent;
	}

	public void setIsParent(String isParent) {
		this.isParent = isParent;
	}

	public String getNocheck() {
		return nocheck;
	}

	public void setNocheck(String nocheck) {
		this.nocheck = nocheck;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

}